package com.rich.house.mapper;


import com.rich.common.entity.TbWantHouse;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author hu
 * @version
 */
@Mapper
public interface WantHouseMapper {

    /**
     * 想租(买)房 列表
     *
     * @return TbWantHouse
     */
    List<TbWantHouse> wantHouseList();

    /**
     * 买(组)租 房
     *
     * @param wantHouse
     */
    void addWantHouse(TbWantHouse wantHouse);

    /**
     * 逻辑删除
     * @param id
     * @param status
     */
    void deleteWantHouse(Long id, String status);

}
